package org.world.applicaiton.annimal.query.view;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.world.domain.aggregate.animal.constant.GenderEnum;

import java.time.LocalDateTime;

@Data
@ApiModel
public class AnimalView {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String name;

    private GenderEnum gender;

    private Boolean isPregnant;

    private Long motherId;

    private LocalDateTime gaveBirthTime;
}
